package com.woniuxy.ams.service;

import com.woniuxy.ams.entity.AppraisalTemplate;
import com.woniuxy.ams.entity.Dept;
import com.woniuxy.ams.entity.ExamineListFormInline;
import com.woniuxy.ams.entity.NewTemplate;

import java.util.List;

/**
 * 部门考核 service层
 */
public interface AppraisalTemplateSerice {

    List<AppraisalTemplate> findAllTemplate(Dept dept);

    AppraisalTemplate findTemplate(int id);

    int deleteTemplate(AppraisalTemplate appraisalTemplate);

    int insertNewTemplate(NewTemplate newTemplate);

    int updateNewTemplate(NewTemplate newTemplate);

    List<AppraisalTemplate> findAllTemplateBySearch(ExamineListFormInline examineListFormInline);
}
